﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace PLCDataCollector.Core.Entities
{
    [SugarTable("T_PlcDataHistory")]
    public class PlcDataHistory
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public string MMachineId { get; set; }

        public string MachineId { get; set; }

        public string DataAddress { get; set; }
        public string DataName { get; set; }
        public string DataValue { get; set; }
        public string DataType { get; set; }

        public DateTime CollectionTime { get; set; }
    }
}
